﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
	x:Class="ClientPreloader.MainPage" d:DesignWidth="811" d:DesignHeight="539">
	<UserControl.Resources>
<!-- Resources scoped at the Application level should be defined here. -->
		<DropShadowEffect x:Key="DefaultShadowLarge" Direction="275" BlurRadius="30" Opacity="0.5" Color="#FF00000C"/>
		<DropShadowEffect x:Key="BlackGlow" ShadowDepth="0"/>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot">
		<Grid HorizontalAlignment="Center" Height="320" VerticalAlignment="Center" Width="600">
			<sdk:ChildWindow x:Name="childWindow" Title="TheGame Installation Routine" HorizontalAlignment="Center" VerticalAlignment="Center" Width="600" Height="320" Effect="{StaticResource DefaultShadowLarge}" HasCloseButton="False" IsHitTestVisible="False"/>
			<Grid Margin="10,23,10,10">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="150"/>
					<ColumnDefinition Width="20"/>
					<ColumnDefinition/>
				</Grid.ColumnDefinitions>
				<Image x:Name="image" Source="watermark.png" Effect="{StaticResource BlackGlow}" Stretch="Fill"/>
				<Grid x:Name="step4" Grid.Column="2">
					<StackPanel VerticalAlignment="Top">
						<TextBlock TextWrapping="Wrap" Margin="0,0,0,24"><Run FontSize="16" Text="Registration complete"/><LineBreak/><Run FontSize="16"/><Run Text="Thank you for subscribing to TheGame. The installer will now download the client data. This will take about 1 Minute."/></TextBlock>
						<StackPanel Orientation="Horizontal">
							<TextBlock TextWrapping="Wrap" Text="Download progress:" Margin="0,0,5,0"/>
							<TextBlock x:Name="txtDownloadProgress" TextWrapping="Wrap" Text="0" Margin="0,0,2,0"/>
							<TextBlock TextWrapping="Wrap" Text="%"/>
						</StackPanel>
						<ProgressBar x:Name="prgDownloadProgress" Height="24"/>
					</StackPanel>
				</Grid>
				<StackPanel x:Name="stackPanel1" VerticalAlignment="Bottom" Orientation="Horizontal" Grid.Column="2" d:LayoutOverrides="Width" HorizontalAlignment="Right">
					<Button x:Name="btnBack" Content="Back" Width="75" Margin="0,0,5,0" Visibility="Collapsed"/>
					<Button x:Name="btnNext" Content="Continue" Width="75" />
				</StackPanel>
			</Grid>
		</Grid>
	</Grid>
</UserControl>